package com.hsjk.szwj.module.train.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @author ec50n9
 */
@Schema(description = "订单列表信息 Response VO")
@Data
@ToString(callSuper = true)
public class AdminOrderPageRespVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "订单类型")
    private Integer orderType;

    @Schema(description = "订单价格")
    private Long orderPrice;

    @Schema(description = "sku ID")
    private Long skuId;

    @Schema(description = "sku来源")
    private Integer skuSource;

    @Schema(description = "购买数量")
    private Integer amount;

    @Schema(description = "订单状态")
    private Integer status;

    @Schema(description = "支付时间")
    private LocalDateTime payTime;

    @Schema(description = "交易取消时间")
    private LocalDateTime cancelTime;

    @Schema(description = "取消类型")
    private Integer cancelType;

    @Schema(description = "用户ID")
    private Long memberId;

    @Schema(description = "签单人id")
    private Long signMemberId;

    @Schema(description = "sku名称")
    private String skuName;

    @Schema(description = "sku图片地址")
    private String skuPicUrl;

    @Schema(description = "用户昵称")
    private String memberNickname;

    @Schema(description = "用户用户头像")
    private String memberAvatar;

    @Schema(description = "签单人昵称")
    private String signMemberNickname;

    @Schema(description = "签单人用户头像")
    private String signMemberAvatar;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
